export interface IResponseData {
  code: number
  message: string
  ok: boolean
}
export interface IItemCateGory {
  id: number
  name: string
  createTime: string
  updateTime: string
}

export interface ICateGory1 extends IResponseData {
  data: Array<IItemCateGory>
}

// 请求入参
export interface IAttrInfo {
  category1Id: number
  category2Id: number
  category3Id: number
}

// 返回data数据类型
export interface IAttrInfoData {
  attrName: string
  attrValueList: Array<IAttrValueList>
  categoryId: number
  id?: number | null
  categoryLevel: number
}

export interface IAttrInfoDataList extends IResponseData {
  data: Array<IAttrInfoData>
}

// attrValueList类型
export interface IAttrValueList {
  id?: number
  attrId?: number
  flag?: boolean
  valueName: string
}
